package com.terrier.ui.skins.skinBaseClasses
{
    import com.terrier.ui.skins.IWxTextInputSkin;
    import com.terrier.ui.skins.WxAssetUtility;
    import com.terrier.ui.skins.WxTextStyle;

    import flash.display.Sprite;

    public class WxTextInputSkinBase extends WxLabelSkinBase implements IWxTextInputSkin
    {
        protected var _hintStyle:WxTextStyle;

        public function WxTextInputSkinBase()
        {
            super();
        }

        public function get hintStyle():WxTextStyle
        {
            return null;
        }

        override public function initByAsset(asset:Sprite):void
        {
            super.initByAsset(asset);

            if (asset.numChildren < 3)
            {
                return;
            }
            _labelStyle = WxAssetUtility.getTextStyle(asset, 2);
        }
    }
}
